/*
 * @Description: 元数据添加、编辑通用表单
 * @Author: Rfan
 * @Date: 2022-10-26 11:37:59
 * @LastEditTime: 2022-11-19 15:55:11
 */

import { Form, Input, Select } from 'antd';

const CatalogueForm = () => {
  return (
    <>
      <Form.Item name="field_desc" label="登记时间" rules={[{ required: true }]}>
        <Input allowClear />
      </Form.Item>
      <Form.Item name="field_name" label="登记类型" rules={[{ required: true }]}>
        <Input allowClear />
      </Form.Item>

      <Form.Item name="field_type" label="全宗号">
        <Select></Select>
      </Form.Item>
      <Form.Item name="field_kind" label="目录号">
        <Select></Select>
      </Form.Item>
      <Form.Item name="length" label="目录分类">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="所属年度">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="案卷数量">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="文件数量">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="目录份数">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="创建与移交">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="操作人">
        <Input allowClear />
      </Form.Item>
      <Form.Item name="length" label="移出说明">
        <Input.TextArea placeholder="备注信息描述，最多可填写2000字" maxLength={2000} showCount />
      </Form.Item>
    </>
  );
};

export default CatalogueForm;
